package shared;

import java.util.List;
import java.util.Vector;

import deck.Card;
import deck.Suit;
import deck.Value;

import server.IPlayer;

public class RemotePlayer implements IPlayer {

	private PlayerState currentState;
	
	public RemotePlayer(String name, PlayerPosition pos) {
		List<Card> hand;
		hand = new Vector<Card>();
		hand.add(new Card(Suit.DIAMONDS, Value.ACE));
		hand.add(new Card(Suit.CLUBS, Value.KING));
		hand.add(new Card(Suit.DIAMONDS, Value.QUEEN));
		hand.add(new Card(Suit.HEARTS, Value.JACK));
		hand.add(new Card(Suit.SPADES, Value.TEN));
		hand.add(new Card(Suit.DIAMONDS, Value.NINE));
		currentState = new PlayerState(hand, 0, 0, name, pos, null);
	}
	
	public void setCurrentState(PlayerState newState) {
		currentState = newState;
	}
	
	@Override
	public PlayerState getCurrentState() {
		// TODO Auto-generated method stub
		return currentState;
	}

}
